﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LINQex
{
    public class Student
    {
        private string firstName;
        private string lastName;
        private string fn;
        private string phone;
        private string email;
        private List<int> marks;
        private int groupId;

        

        #region Constructors and Properties
        
        public Student(string firstName, string lastName, string fn, string phone, string email, List<int> marks, int groupId)
        {
            this.firstName = firstName;
            this.lastName = lastName;
            this.fn = fn;
            this.phone = phone;
            this.email = email;
            this.marks = marks;
            this.groupId = groupId;
        }

        public Student()
            : this(null, null, null, null, null, null, 0) { }

        public string FirstName
        {
            get
            {
                return firstName;
            }
            set
            {
                firstName = value;
            }
        }

        public string LastName
        {
            get
            {
                return lastName;
            }
            set
            {
                lastName = value;
            }
        }

        public string Fn
        {
            get
            {
                return fn;
            }
            set
            {
                fn = value;
            }
        }

        public string Phone
        {
            get
            {
                return phone;
            }
            set
            {
                phone = value;
            }
        }

        public string Email
        {
            get
            {
                return email;
            }
            set
            {
                email = value;
            }
        }

        public List<int> Marks
        {
            get
            {
                return marks;
            }
            set
            {
                marks = value;
            }
        }

        public int GroupId
        {
            get
            {
                return groupId;
            }
            set
            {
                groupId = value;
            }
        }

        #endregion
    }
}
